//
// Created by zhang on 3/23/2023.
//
#include <stdio.h>

long Fact (long n) {
    if (n == 0) return 1;
    else return n * Fact (n-1);
}

int main() {
    long result = Fact(5);

    printf("Fact(5), namely 5!, should be equal to 120: %d\n", result);
    return 0;
}
